Inheritance diagram for XFcRFCOMMSocket:


Public Member Functions | |
| XFCIMPORT INT | open (const XFcAddress &aAddress, XFcAsyncCallBack *aCallBack=NULL) |
| Opens connection to destination address. | |
| XFCIMPORT INT | open (XFcSocket &aSocket, XFcAsyncCallBack *aCallBack=NULL) |
| Listens connection from other device. | |
| XFCIMPORT INT | bind (XFcAddress &aAddress) |
| Binds the socket if used as server. | |
| XFCIMPORT INT | listen (INT aListen) |
| Sets up a socket to listen for incoming connections. | |
| XFCIMPORT INT | recv (CHAR8 *aData, INT32 aLen, INT aFlags) |
| Receives data from socket, not supported if socket is in listen mode. | |
| XFCIMPORT INT | send (const CHAR8 *aData, INT32 aLen, INT aFlags) |
| Sends data to socket, not supported if socket is in listen mode. | |
| virtual XFCIMPORT | ~XFcRFCOMMSocket () |
| Virtual destructor. | |
Static Public Member Functions | |
| XFCIMPORT XFcRFCOMMSocket * | create (INT aPlank=0) |
| Creates RFCOMM Socket. | |
Protected Member Functions | |
| XFcRFCOMMSocket () | |
| Protected constructor. | |
| INT | init (INT aPlank) |
| Initializes XFcL2CAPSocket. | |
One is able to create RFCOMM server socket or client socket. If socket is changed to asynchronous, XFcAsyncCallBack interface pointer must be given. Default socket is created to blocking mode.
|
|
Protected constructor.
|
|
|
Virtual destructor.
|
|
|
Binds the socket if used as server.
|
|
|
Creates RFCOMM Socket.
|
|
|
Initializes XFcL2CAPSocket.
|
|
|
Sets up a socket to listen for incoming connections. Creates backbuffer for incoming connection. |
|
||||||||||||
|
Listens connection from other device.
|
|
||||||||||||
|
Opens connection to destination address.
|
|
||||||||||||||||
|
Receives data from socket, not supported if socket is in listen mode.
|
|
||||||||||||||||
|
Sends data to socket, not supported if socket is in listen mode.
|
![]() |
Confidential Copyright © 2002-2003 Fathammer | with doxygen by Dimitri van Heesch | ||